.class Lcom/xiaomi/notes/AdapterNoteItem$1;
.super Ljava/lang/Object;
.source "AdapterNoteItem.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/xiaomi/notes/AdapterNoteItem;->folderView(II)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/xiaomi/notes/AdapterNoteItem;


# direct methods
.method constructor <init>(Lcom/xiaomi/notes/AdapterNoteItem;)V
    .locals 0
    .parameter

    .prologue
    .line 231
    iput-object p1, p0, Lcom/xiaomi/notes/AdapterNoteItem$1;->this$0:Lcom/xiaomi/notes/AdapterNoteItem;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 2
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 235
    if-eqz p2, :cond_0

    .line 236
    iget-object v0, p0, Lcom/xiaomi/notes/AdapterNoteItem$1;->this$0:Lcom/xiaomi/notes/AdapterNoteItem;

    invoke-static {v0}, Lcom/xiaomi/notes/AdapterNoteItem;->access$000(Lcom/xiaomi/notes/AdapterNoteItem;)Ljava/util/Set;

    move-result-object v0

    invoke-virtual {p1}, Landroid/widget/CompoundButton;->getId()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 240
    :goto_0
    return-void

    .line 238
    :cond_0
    iget-object v0, p0, Lcom/xiaomi/notes/AdapterNoteItem$1;->this$0:Lcom/xiaomi/notes/AdapterNoteItem;

    invoke-static {v0}, Lcom/xiaomi/notes/AdapterNoteItem;->access$000(Lcom/xiaomi/notes/AdapterNoteItem;)Ljava/util/Set;

    move-result-object v0

    invoke-virtual {p1}, Landroid/widget/CompoundButton;->getId()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    goto :goto_0
.end method
